<?php
    session_start();
if(isset($_SESSION['id'])){
    header('location:../view/perfil.php');
} else {
    header('location:../view/inicio.php');
}
    
?>
